<!doctype html>
<html lang="en-US">
  <head>
    <title>viewpdf</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="js/jquery.media.js"></script>
    <style>
    html,body,#handout_wrap_inner
    {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    </style>
  </head>
  <body>
    <div id="handout_wrap_inner"></div>
    <script type="text/javascript">  
        function getQueryString (name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]); return null;
        }
        
        $('#handout_wrap_inner').media({
            width: '100%',
            height: '100%',
            autoplay: true,
            src:getQueryString("src"),
        });

       </script>
  </body>
</html>